package IDAL;

import Entity.Operator;

import java.util.List;

/**
 * @Author Chen
 * @Date 2022/1/7 15:28
 * @Version 1.0
 */
public interface OperatorPort {

    //添加操作员
    public int addOperator(Object...args) throws Exception;

    //修改操作员信息
    public int updateOperator(Object...args) throws Exception;

    //删除操作员
    public int deleteOperator(Object...args) throws Exception;

    //查询所有的操作员
    public List<Operator> selectOperator() throws Exception;

    //根据id查询操作员
    public Operator selectBYOperator(Object...args) throws Exception;

}
